package com.chance.cc.crawler.prod.command.schedule.news.yyzx;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.yyzx.YiYaoZXBKCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.yyzx.YiYaoZXSearchCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @author lt
 * @version 1.0
 * @date 2021-06-29 13:19:24
 * @email okprog@sina.com
 */
public class YiYaoZXCrawlerJobSchedule extends CommonCrawlerJobSchedule {
    public static void main(String[] args) {
        publicCrawlerScheduleJob(YiYaoZXBKCrawlerSchedulerJob.crawlerScheduler());
        publicCrawlerScheduleJob(YiYaoZXSearchCrawlerSchedulerJob.crawlerScheduler());
    }

    public static void publicCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);
    }
}
